import request from './http'

// https://apis.netstart.cn/bcomic/GetHomeSecondaryComics?moduleId=1097&pageNum=1&pageSize=10
export function getAllData() {
    return request({
        url: "/bcomic/AllLabel",
        method: 'get'
    })
}

// https://apis.netstart.cn/bcomic/ClassPage?styleId=${this.styleId}&areaId=${this.areaId}&isFinish=${this.isFinishId}&order=${this.orderId}&pageNum=1&pageSize=300&isFree=${this.isFreeId}
export function getAllListsData(obj) {
    return request({
        url: "/bcomic/ClassPage",
        method: 'get',
        data: {
            styleId: obj.obj.styleId,
            areaId: obj.obj.areaId,
            isFinish: obj.obj.isFinishId,
            order: obj.obj.orderId,
            pageNum: 1,
            pageSize: 300,
            isFree: obj.obj.isFreeId
        }
    })
}
